/*
 Navicat Premium Data Transfer

 Source Server         : 121.41.19.236
 Source Server Type    : MySQL
 Source Server Version : 50719
 Source Host           : 121.41.19.236:3306
 Source Schema         : streamquery

 Target Server Type    : MySQL
 Target Server Version : 50719
 File Encoding         : 65001

 Date: 23/12/2020 09:05:10
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for tb_article
-- ----------------------------
DROP TABLE IF EXISTS `tb_article`;
CREATE TABLE `tb_article` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `title` varchar(128) NOT NULL COMMENT '标题',
  `content` text NOT NULL COMMENT '内容',
  `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '状态',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='文章';

-- ----------------------------
-- Records of tb_article
-- ----------------------------
BEGIN;
INSERT INTO `tb_article` VALUES (1, '2020-12-22 19:51:28', NULL, '123', '123', 0);
INSERT INTO `tb_article` VALUES (2, '2020-12-22 19:51:37', '2020-12-22 19:51:48', '456', '456', 1);
INSERT INTO `tb_article` VALUES (3, '2020-12-22 19:51:44', '2020-12-22 19:51:49', '789', '789', 2);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
